export const APP_TITLE = 'Superficial'
export const BLOG_HOST = '//zhangwurui.cn'
export const BLOG_SITE = `https:${BLOG_HOST}`
export const STATIC_URL = 'https://static.zhangwurui.cn'
export const GRAVATAR_API = `${STATIC_URL}/avatar`

export const APP_AUTH_HEADER_KEY = 'Authorization'
export const APP_SIDER_WIDTH = 180
export const APP_SIDER_COLLAPSED_WIDTH = 80
export const APP_LAYOUT_GUTTER_SIZE = 24
export const APP_LAYOUT_SPACE_SIZE = 'large'
export const APP_CONTENT_SPACE_SIZE = 'middle'
export const APP_COLOR_PRIMARY = '#177ddc'

export enum Environment {
  Development = 'development',
  Production = 'production',
}

export const API_URL = import.meta.env.VITE_API_URL as string
export const ENV = import.meta.env.MODE as Environment
export const isDev = import.meta.env.DEV
export const isProd = import.meta.env.PROD
